/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package batailledesardennes.util.straightedge.util;

/**
 * Can be used for keeping track of whether something has been processed or not.
 * For example usage see TileArray.getAllWithin() which uses a tracker to track
 * whether KPolygons have been processed.
 * 
 * @author Keith
 */

public class Tracker {
	int cachedSystemIdentityHashCode = System.identityHashCode(this);
	long countID = 0;

	public void incrementCountID() {
		countID++;
	}

	public int getCachedSystemIdentityHashCode() {
		return cachedSystemIdentityHashCode;
	}

	public long getCountID() {
		return countID;
	}
}
